package com.learn.eduuserboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learn.eduapi.entity.user.User;
import com.learn.eduapi.entity.user.UserAdmin;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface UserAdminDao extends BaseMapper<UserAdmin> {
    @Select("select * from user_admin where name = #{name}")
    UserAdmin selectByName(@Param("name") String name);
}
